package com.aishua.andpaydemo.fragment.shopmarketfagment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.aishua.andpaydemo.ImageloaderHelper;
import com.aishua.andpaydemo.R;
import com.aishua.andpaydemo.fragment.BaseFragment;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.nostra13.universalimageloader.core.assist.ImageScaleType;
import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer;

/**
 * Created by aishua on 2018/5/17.
 */

public class ShopCityFragment extends BaseFragment {

    private ImageView img_shagnjia;
    private ImageView img_duolezhiri;
    private ImageView img_renmentuijiane;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {

        View view = View.inflate(getContext(), R.layout.fragment_shopcity,null);
        initTitleView( view);
        initView(view);
        return view;

    }

    private void initView(View view) {

        img_shagnjia = view.findViewById(R.id.img_shagnjia);
        img_duolezhiri = view.findViewById(R.id.img_duolezhiri);
        img_renmentuijiane = view.findViewById(R.id.img_renmentuijiane);
        ImageloaderHelper.dispalyImage(getContext(),R.drawable.zaixianshangcheng,img_shagnjia);
        ImageloaderHelper.dispalyImage(getContext(),R.drawable.duolezhiri,img_duolezhiri);
        ImageloaderHelper.dispalyImage(getContext(),R.drawable.renmentuijian,img_renmentuijiane);

    }



    private void initTitleView(View view) {

    }


}
